增加了布产的时候选择订单的时候显示的布产状态
This commit is contained in:
parent
a0e0aac64c
commit
e10b2f355d
|
|
@ -131,7 +131,7 @@ RabbitMQPass: ${RABBITMQ_PASSWORD} # rabbitmq 密码
|
||||||
MongoDBServer: "${MONGODB_SERVER}" # mongodb ENV环境变量,一般不做修改,如果要修改,可以修改MongoDB-Server-Dev 和 MongoDB-Server-Prod的两个值
|
MongoDBServer: "${MONGODB_SERVER}" # mongodb ENV环境变量,一般不做修改,如果要修改,可以修改MongoDB-Server-Dev 和 MongoDB-Server-Prod的两个值
|
||||||
MongoDBPort: ${MONGODB_PORT}
|
MongoDBPort: ${MONGODB_PORT}
|
||||||
MongoDBUser: ${MONGODB_USER} # mongodb 用户名
|
MongoDBUser: ${MONGODB_USER} # mongodb 用户名
|
||||||
MongoDBPass: ${MONGODB_PASS} # mongodb 密码
|
MongoDBPass: ${MONGODB_PASSWORD} # mongodb 密码
|
||||||
|
|
||||||
BeanstalkdServer: "${BEANSTALKD_SERVER}" # beanstalkd ENV环境变量,一般不做修改,如果要修改,可以修改Beanstalkd-Server-Dev 和 Beanstalkd-Server-Prod的两个值
|
BeanstalkdServer: "${BEANSTALKD_SERVER}" # beanstalkd ENV环境变量,一般不做修改,如果要修改,可以修改Beanstalkd-Server-Dev 和 Beanstalkd-Server-Prod的两个值
|
||||||
BeanstalkdPort: ${BEANSTALKD_PORT}
|
BeanstalkdPort: ${BEANSTALKD_PORT}
|
||||||
|
|
@ -297,7 +297,7 @@ EtcdPortLocal: "2379"
|
||||||
MySQLServerLocal: 127.0.0.1
|
MySQLServerLocal: 127.0.0.1
|
||||||
MySQLPortLocal: "3306"
|
MySQLPortLocal: "3306"
|
||||||
MySQLUserLocal: root
|
MySQLUserLocal: root
|
||||||
MySQLPasswordLocal: "123456"
|
MySQLPasswordLocal: "zxcvb147852~!"
|
||||||
RedisServerLocal: 127.0.0.1
|
RedisServerLocal: 127.0.0.1
|
||||||
RedisPortLocal: "6379"
|
RedisPortLocal: "6379"
|
||||||
RedisPassLocal: ""
|
RedisPassLocal: ""
|
||||||
|
|
@ -305,7 +305,7 @@ RedisTypeLocal: node
|
||||||
MongoDBServerLocal: 127.0.0.1
|
MongoDBServerLocal: 127.0.0.1
|
||||||
MongoDBPortLocal: "27017"
|
MongoDBPortLocal: "27017"
|
||||||
MongoDBUserLocal: root
|
MongoDBUserLocal: root
|
||||||
MongoDBPassLocal: ""
|
MongoDBPassLocal: "zxcvb147852"
|
||||||
BeanstalkdServerLocal: 127.0.0.1
|
BeanstalkdServerLocal: 127.0.0.1
|
||||||
BeanstalkdPortLocal: "11300"
|
BeanstalkdPortLocal: "11300"
|
||||||
BeanstalkdRedisServerLocal: 127.0.0.1 # beanstalkd redis ENV环境变量,一般不做修改,如果要修改,可以修改Beanstalkd-Redis-Server-Dev 和 Beanstalkd-Redis-Server-Prod的两个值
|
BeanstalkdRedisServerLocal: 127.0.0.1 # beanstalkd redis ENV环境变量,一般不做修改,如果要修改,可以修改Beanstalkd-Redis-Server-Dev 和 Beanstalkd-Redis-Server-Prod的两个值
|
||||||
|
|
|
||||||
|
|
@ -163,6 +163,12 @@ VXETable.formats.mixin({
|
||||||
if (!cellValue) return '';
|
if (!cellValue) return '';
|
||||||
return parseFloat(cellValue).toFixed(2) + "%";
|
return parseFloat(cellValue).toFixed(2) + "%";
|
||||||
},
|
},
|
||||||
|
|
||||||
|
formatProduction({ cellValue }) { // 百分比的形式显示
|
||||||
|
if (cellValue === 0) return '未布产';
|
||||||
|
if (!cellValue) return '';
|
||||||
|
return '已布产';
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
VXETable.renderer.add('enum', {
|
VXETable.renderer.add('enum', {
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
|
|
||||||
<vxe-column field="mold_scheme" title="模型名" width="160" :params="editor_scheme" formatter="formatRef"></vxe-column>
|
<vxe-column field="mold_scheme" title="模型名" width="160" :params="editor_scheme" formatter="formatRef"></vxe-column>
|
||||||
<vxe-column field="mold_scheme" title="模型编码" width="160" :params="{dataType:'object',valueField: 'id',textField: 'code'}" formatter="formatRef"></vxe-column>
|
<vxe-column field="mold_scheme" title="模型编码" width="160" :params="{dataType:'object',valueField: 'id',textField: 'code'}" formatter="formatRef"></vxe-column>
|
||||||
|
<vxe-column field="production_id" title="布产状态" width="160" formatter="formatProduction"></vxe-column>
|
||||||
<vxe-column field="progress" title="进度" width="160" :cellRender="{ name: 'progress' }"></vxe-column>
|
<vxe-column field="progress" title="进度" width="160" :cellRender="{ name: 'progress' }"></vxe-column>
|
||||||
<vxe-column field="production_type" title="布产类型" width="160" :params="options_production_type"
|
<vxe-column field="production_type" title="布产类型" width="160" :params="options_production_type"
|
||||||
formatter='formatEnum'></vxe-column>
|
formatter='formatEnum'></vxe-column>
|
||||||
|
|
@ -299,7 +300,15 @@ export default {
|
||||||
|
|
||||||
onSearch() {
|
onSearch() {
|
||||||
this.$refs.xGrid.commitProxy('query')
|
this.$refs.xGrid.commitProxy('query')
|
||||||
|
},
|
||||||
|
production({ cellValue }) {
|
||||||
|
if (cellValue === 0){
|
||||||
|
return cellValue;
|
||||||
|
}else{
|
||||||
|
return cellValue;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
// 监听属性
|
// 监听属性
|
||||||
watch: {
|
watch: {
|
||||||
|
|
|
||||||
|
|
@ -117,6 +117,7 @@ export default {
|
||||||
searchRules: [
|
searchRules: [
|
||||||
{ key: "code", mode: "like" },
|
{ key: "code", mode: "like" },
|
||||||
{ key: "mold_master_uid", mode: "=" },
|
{ key: "mold_master_uid", mode: "=" },
|
||||||
|
{ key: "is_complete", mode: "=" },
|
||||||
{ key: "engineer_uid", mode: "=" }
|
{ key: "engineer_uid", mode: "=" }
|
||||||
],
|
],
|
||||||
//搜索区
|
//搜索区
|
||||||
|
|
@ -125,6 +126,7 @@ export default {
|
||||||
|
|
||||||
{ field: 'code', title: '编码', span: 4, itemRender: { name: '$input', props: { placeholder: '请输入编码' } } },
|
{ field: 'code', title: '编码', span: 4, itemRender: { name: '$input', props: { placeholder: '请输入编码' } } },
|
||||||
{ field: 'customer_name', title: '客户名称', span: 4, itemRender: { name: '$input', props: { placeholder: '请输入客户名称' } } },
|
{ field: 'customer_name', title: '客户名称', span: 4, itemRender: { name: '$input', props: { placeholder: '请输入客户名称' } } },
|
||||||
|
{ field: 'is_complete', title: '完成状态', span: 2, itemRender: { name: '$input', props: { placeholder: '请输入客户名称' } } },
|
||||||
{
|
{
|
||||||
title: '模具师傅', span:4,
|
title: '模具师傅', span:4,
|
||||||
field: 'mold_master_uid',
|
field: 'mold_master_uid',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue