diff --git a/src/api/common.js b/src/api/common.js
index c49a6c83..58a8bf07 100644
--- a/src/api/common.js
+++ b/src/api/common.js
@@ -152,3 +152,14 @@ export function getLatestActionList() {
})
}
+// 按线路重算批次
+export function autoScanSiteBatch(lineCode) {
+ return request({
+ url: '/common/autoScanSiteBatch?lineCode='+lineCode,
+ method: 'get',
+ timeout: 20000
+ })
+}
+
+
+
diff --git a/src/api/emis/emisSupplier.js b/src/api/emis/emisSupplier.js
index 6033284a..09eac48c 100644
--- a/src/api/emis/emisSupplier.js
+++ b/src/api/emis/emisSupplier.js
@@ -26,6 +26,22 @@ export function getEmisSupplier(id) {
})
}
+export async function getEmisSupplierByCode(code) {
+ let res= await request({
+ url: '/emis/emisSupplier/list',
+ method: 'get',
+ params: {code:code}
+ });
+
+ if(res&&res.code==200){
+ let result=res.rows[0];
+ return result;
+ }else{
+ return null;
+ }
+
+}
+
// 新增公司供应商表
export function addEmisSupplier(data) {
return request({
diff --git a/src/api/emis/emisTmsSiteBatch.js b/src/api/emis/emisTmsSiteBatch.js
index f71321c2..d2811948 100644
--- a/src/api/emis/emisTmsSiteBatch.js
+++ b/src/api/emis/emisTmsSiteBatch.js
@@ -49,4 +49,14 @@ export function getTmsGroupBatchNo(id) {
url: '/emis/common/getTmsGroupBatchNo',
method: 'post'
})
+}
+
+
+// 按批次号重算批次
+export function scanSiteBatch(batchNo) {
+ return request({
+ url: '/emis/emisTmsSiteBatch/scanSiteBatch?batchNo='+batchNo,
+ method: 'get',
+ timeout: 20000
+ })
}
\ No newline at end of file
diff --git a/src/router/index.js b/src/router/index.js
index e994d132..606fe6bb 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -164,34 +164,7 @@ export const dynamicRoutes = [
}
]
},
- {
- path: '/monitor/job-log',
- component: Layout,
- hidden: true,
- permissions: ['monitor:job:list'],
- children: [
- {
- path: 'index',
- component: () => import('@/views/monitor/job/log'),
- name: 'JobLog',
- meta: { title: '调度日志', activeMenu: '/monitor/job' }
- }
- ]
- },
- {
- path: '/tool/gen-edit',
- component: Layout,
- hidden: true,
- permissions: ['tool:gen:edit'],
- children: [
- {
- path: 'index/:tableId(\\d+)',
- component: () => import('@/views/tool/gen/editTable'),
- name: 'GenEdit',
- meta: { title: '修改生成配置', activeMenu: '/tool/gen' }
- }
- ]
- }
+
]
// 防止连续点击多次路由报错
diff --git a/src/views/emis/emisSettleSubBill/subBillMergeMgnt.vue b/src/views/emis/emisSettleSubBill/subBillMergeMgnt.vue
index 578811fb..249c88f7 100644
--- a/src/views/emis/emisSettleSubBill/subBillMergeMgnt.vue
+++ b/src/views/emis/emisSettleSubBill/subBillMergeMgnt.vue
@@ -417,7 +417,6 @@ import CountryPicker1 from '@/views/emis/EmisBaseTools/CountryPicker.vue';
import CountryPicker2 from '@/views/emis/EmisBaseTools/CountryPicker.vue';
import ProvincePicker2 from '@/views/emis/EmisBaseTools/ProvincePicker.vue';
-
import TransLinePicker from '@/views/emis/EmisBaseTools/TransLinePicker.vue';
import TransProductPicker from '@/views/emis/EmisBaseTools/TransProductPicker.vue';
diff --git a/src/views/emis/emisSupplier/emisSupplierForm.vue b/src/views/emis/emisSupplier/emisSupplierForm.vue
index bf89b36d..bf150090 100644
--- a/src/views/emis/emisSupplier/emisSupplierForm.vue
+++ b/src/views/emis/emisSupplier/emisSupplierForm.vue
@@ -40,6 +40,18 @@
+
+
+
+
+
+
+
{
- if(feeTypeArr.includes(itemType.value)){
- let feeItem={
- feeType:itemType.value,
- price:null,
- fee:null,
- currency:'CNY'
+
+ // 根据供应商对应的费用类型来判断
+ if(feeItemRelStr){
+ let feeTypeArr = feeItemRelStr.split(',');
+ this.dict.type.emis_cost_fee_type.forEach(itemType => {
+ if(feeTypeArr.includes(itemType.value)){
+ let feeItem={
+ feeType:itemType.value,
+ price:null,
+ fee:null,
+ currency:'CNY'
+ }
+ this.form.feeItemList.push(feeItem);
+ }
+ });
+ }
+ else{
+ for(let i=0;i {
+ if(feeTypeArr.includes(itemType.value)){
+ let feeItem={
+ feeType:itemType.value,
+ price:null,
+ fee:null,
+ currency:'CNY'
+ }
+ this.form.feeItemList.push(feeItem);
}
- this.form.feeItemList.push(feeItem);
- }
- });
- break;
- }
-
+ });
+ break;
+ }
+ }
}
this.loading = false;
diff --git a/src/views/emis/emisTmsSiteBatch/panel/BigBatchEditForm.vue b/src/views/emis/emisTmsSiteBatch/panel/BigBatchEditForm.vue
index 9ae533fb..e5bf1230 100644
--- a/src/views/emis/emisTmsSiteBatch/panel/BigBatchEditForm.vue
+++ b/src/views/emis/emisTmsSiteBatch/panel/BigBatchEditForm.vue
@@ -357,7 +357,12 @@