|
@@ -553,7 +553,6 @@ export default {
|
|
|
this.$refs.itemNumEleModal.editItemNumber.isTc = record.isTc
|
|
|
},
|
|
|
|
|
|
-
|
|
|
// 导出
|
|
|
handleExportXls(fileName) {
|
|
|
console.log('需导出的fileName:', fileName)
|
|
@@ -614,7 +613,7 @@ export default {
|
|
|
submitShipment({ id: record.id, type: '1' }).then(res => {
|
|
|
if (res.success) {
|
|
|
console.log('提交成功,单据状态改为【已提交】')
|
|
|
- this.shipmentListData.state == '1'
|
|
|
+ this.shipmentListData.state = '1'
|
|
|
this.getShipmentList() // 渲染 发运明细列表
|
|
|
this.$message.success('提交成功')
|
|
|
}
|
|
@@ -628,7 +627,7 @@ export default {
|
|
|
cancelSubmitShipment({ id: record.id, type: '2' }).then(res => {
|
|
|
if (res.success) {
|
|
|
console.log('取消提交成功,单据状态改为【仅保存】')
|
|
|
- this.shipmentListData.state == '0'
|
|
|
+ this.shipmentListData.state = '0'
|
|
|
this.getShipmentList() // 渲染 发运明细列表
|
|
|
this.$message.success('取消提交成功')
|
|
|
}
|
|
@@ -643,7 +642,7 @@ export default {
|
|
|
pushShipment({ id: record.id }).then(res => {
|
|
|
if (res.success) {
|
|
|
console.log('推送成功,推送状态【推送成功】')
|
|
|
- this.shipmentListData.pushState == '1'
|
|
|
+ this.shipmentListData.pushState = '1'
|
|
|
this.getShipmentList() // 渲染 发运明细列表
|
|
|
this.$message.success('推送成功')
|
|
|
}
|
|
@@ -658,7 +657,7 @@ export default {
|
|
|
rePushShipment({ id: record.id }).then(res => {
|
|
|
if (res.success) {
|
|
|
console.log('重新推送成功,推送状态【推送成功】')
|
|
|
- this.shipmentListData.pushState == '1'
|
|
|
+ this.shipmentListData.pushState = '1'
|
|
|
this.getShipmentList() // 渲染 发运明细列表
|
|
|
this.$message.success('重新推送成功')
|
|
|
}
|
|
@@ -707,7 +706,7 @@ export default {
|
|
|
this.queryParam.salesman = ''
|
|
|
this.queryParam.itemNumber = ''
|
|
|
this.queryParam.refer = ''
|
|
|
- this.queryParam.is = ''
|
|
|
+ this.queryParam.isTc = ''
|
|
|
this.getShipmentList() // 渲染 发运明细列表
|
|
|
},
|
|
|
|