|
|
@@ -7,9 +7,9 @@
|
|
|
</el-button>
|
|
|
</div>
|
|
|
<div class="add-customer-btn">
|
|
|
- <el-button size="small" :disabled="!form.id" @click="$refs.print.openDialog()">预 览
|
|
|
+ <el-button size="small" :disabled="!form.id" @click="$refs.print.openDialog()">预 览
|
|
|
</el-button>
|
|
|
- <el-button v-if="roleName.indexOf('admin') != -1" size="small" :disabled="!form.id"
|
|
|
+ <el-button v-if="roleName.indexOf('admin') != -1" size="small" :disabled="!form.id"
|
|
|
@click="$refs.report.openDialog()">报表设计
|
|
|
</el-button>
|
|
|
<!-- <el-button class="el-button--small-yh" style="margin-left: 6px;" type="danger" size="small"
|
|
|
@@ -28,7 +28,7 @@
|
|
|
<el-button v-if="form.id" class="el-button--small-yh" style="margin-left: 6px;" type="success" size="small"
|
|
|
:disabled="form.status != 0 || form.issueStatus == 1" @click="application">运费申请
|
|
|
</el-button>
|
|
|
- <el-button v-if="form.status == 1" class="el-button--small-yh" style="margin-left: 6px;" type="danger"
|
|
|
+ <el-button v-if="form.status == 1" class="el-button--small-yh" style="margin-left: 6px;" type="danger"
|
|
|
size="small" @click="revokeApplication">撤销单据请核
|
|
|
</el-button>
|
|
|
<el-dropdown style="line-height: 0" v-if="importTemplate == 1">
|
|
|
@@ -216,7 +216,8 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col span="12">
|
|
|
- <el-form-item label="OP" prop="operatorName">
|
|
|
+ <el-form-item label="OP" prop="operatorName"
|
|
|
+ :rules="[{ required: true, message: ' ', trigger: 'blur' }]">
|
|
|
<dic-select v-model="form.operatorName" placeholder="OP" :key="form.branchId" label="realName"
|
|
|
:url="'/blade-user/userListAll?roleAlias=操作员&deptId=' + form.branchId" :filterable="true"
|
|
|
@selectChange="dicChange('operatorName', $event)" :disabled="editDisabled"></dic-select>
|
|
|
@@ -521,8 +522,8 @@ export default {
|
|
|
form: {
|
|
|
branchId: JSON.parse(localStorage.getItem('sysitemData')).deptId,
|
|
|
branchName: JSON.parse(localStorage.getItem('sysitemData')).deptName,
|
|
|
- operatorName: JSON.parse(localStorage.getItem('saber-userInfo')).content.user_name, // OP 默认登录人
|
|
|
- operatorId: JSON.parse(localStorage.getItem('saber-userInfo')).content.user_id,
|
|
|
+ customerServiceName: JSON.parse(localStorage.getItem('saber-userInfo')).content.user_name, // OP 默认登录人
|
|
|
+ customerServiceId: JSON.parse(localStorage.getItem('saber-userInfo')).content.user_id,
|
|
|
businessType: 'KHTS',
|
|
|
billNoFormat: 'KHTS',
|
|
|
businessTypeCode: 'KHTS',
|
|
|
@@ -1093,7 +1094,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
importData(row) {
|
|
|
- console.log(row)
|
|
|
this.form.preContainersList.forEach(item => {
|
|
|
if (item.cntrTypeCode == '20GP') {
|
|
|
item.salesPrice = row.gp20
|
|
|
@@ -1108,7 +1108,7 @@ export default {
|
|
|
item.costPrice = row.hc40Cost
|
|
|
}
|
|
|
})
|
|
|
- console.log(this.form.preContainersList)
|
|
|
+ this.submit()
|
|
|
},
|
|
|
textareaBlur(name, row) {
|
|
|
this.form.detail[name] = row.toUpperCase()
|
|
|
@@ -1255,7 +1255,9 @@ export default {
|
|
|
}
|
|
|
this.form.preContainersList.push({
|
|
|
pid: this.form.id,
|
|
|
- $cellEdit: true
|
|
|
+ $cellEdit: true,
|
|
|
+ oceanFreight: 0,
|
|
|
+ salesPrice: 0
|
|
|
})
|
|
|
},
|
|
|
async feecAddRow() {
|