diff --git a/ant-design-vue-jeecg/src/views/productrecord/ProductRecordList.vue b/ant-design-vue-jeecg/src/views/productrecord/ProductRecordList.vue
index 45e10817..47929581 100644
--- a/ant-design-vue-jeecg/src/views/productrecord/ProductRecordList.vue
+++ b/ant-design-vue-jeecg/src/views/productrecord/ProductRecordList.vue
@@ -11,7 +11,7 @@
-
+
@@ -157,7 +157,7 @@
{
title:'工单编号',
align:"center",
- dataIndex: 'orderId'
+ dataIndex: 'orderId_dictText'
},
{
title:'生产开始时间',
@@ -194,14 +194,14 @@
deleteBatch: "/productrecord/productRecord/deleteBatch",
exportXlsUrl: "/productrecord/productRecord/exportXls",
importExcelUrl: "productrecord/productRecord/importExcel",
-
+
},
dictOptions:{},
superFieldList:[],
}
},
created() {
- this.getSuperFieldList();
+ this.getSuperFieldList();
},
computed: {
importExcelUrl: function(){
@@ -215,8 +215,8 @@
let fieldList=[];
fieldList.push({type:'sel_search',value:'stationId',text:'工位',dictTable:'station', dictText:'station_name', dictCode:'id'})
fieldList.push({type:'popup',value:'stationName',text:'工位', popup:{code:'findgw',field:'id',orgFields:'id',destFields:'station_id'}})
- fieldList.push({type:'sel_search',value:'orderCode',text:'工单编号',dictTable:'findgdbh', dictText:'order_id,order_code', dictCode:'id,orders_num'})
- fieldList.push({type:'popup',value:'orderId',text:'工单编号', popup:{code:'work_order',field:'id',orgFields:'id',destFields:'product_code'}})
+ fieldList.push({type:'popup',value:'orderCode',text:'工单编号', popup:{code:'findgdbh',field:'id',orgFields:'id',destFields:'order_id'}})
+ fieldList.push({type:'sel_search',value:'orderId',text:'工单编号',dictTable:'work_order', dictText:'product_code', dictCode:'id'})
fieldList.push({type:'datetime',value:'workTime',text:'生产开始时间'})
fieldList.push({type:'datetime',value:'offTime',text:'生产结束时间'})
fieldList.push({type:'string',value:'duration',text:'时长',dictCode:''})
diff --git a/ant-design-vue-jeecg/src/views/productrecord/modules/ProductRecordForm.vue b/ant-design-vue-jeecg/src/views/productrecord/modules/ProductRecordForm.vue
index 79bc5bc6..6b0ba9c6 100644
--- a/ant-design-vue-jeecg/src/views/productrecord/modules/ProductRecordForm.vue
+++ b/ant-design-vue-jeecg/src/views/productrecord/modules/ProductRecordForm.vue
@@ -13,12 +13,20 @@
code="findgw"
:multi="true"
@input="popupCallback"
- />
+ />
-
+
@@ -46,7 +54,6 @@
-