|
@@ -148,10 +148,11 @@
|
|
|
append-to-body
|
|
|
class="el-dialogDeep"
|
|
|
:visible.sync="dialogVisible"
|
|
|
- width="80%"
|
|
|
+ width="60%"
|
|
|
:close-on-click-modal="false"
|
|
|
:destroy-on-close="true"
|
|
|
:close-on-press-escape="false"
|
|
|
+ top="10vh"
|
|
|
v-dialog-drag>
|
|
|
<el-row style="height: 0;">
|
|
|
<el-col :span="5">
|
|
@@ -179,9 +180,9 @@
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button @click="dialogVisible = false , selectKind = -1">取 消</el-button>
|
|
|
<el-button type="primary" @click="commodityConfirm" v-if="selectKind != -1" :disabled="tableData.length !== 1">确定</el-button>
|
|
|
- <el-button type="primary" @click="importGoods" v-if="commodityData !== true && selectKind == -1" :disabled="tableData.length !== 1">导入</el-button>
|
|
|
- <el-button type="primary" @click="importChoice" v-if="commodityData === true && selectKind == -1"
|
|
|
- :disabled="tableData.length !== 1">导入<</el-button>
|
|
|
+<!-- <el-button type="primary" @click="importGoods" v-if="commodityData !== true && selectKind == -1" :disabled="tableData.length !== 1">导入</el-button>-->
|
|
|
+<!-- <el-button type="primary" @click="importChoice" v-if="commodityData === true && selectKind == -1"-->
|
|
|
+<!-- :disabled="tableData.length !== 1">导入<</el-button>-->
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
<el-dialog
|
|
@@ -568,6 +569,7 @@ export default {
|
|
|
}, {
|
|
|
label: '码单重量',
|
|
|
prop: 'billWeight',
|
|
|
+ disabled: true,
|
|
|
rules: [
|
|
|
{
|
|
|
required: false,
|
|
@@ -618,11 +620,13 @@ export default {
|
|
|
this.oldFilesList = this.deepClone(res.data.data.orderFilesList)
|
|
|
}
|
|
|
})
|
|
|
- }else{
|
|
|
- getSysNo("JK-CG").then(res =>{
|
|
|
- this.$set(this.form,"sysNo", res.data.data)
|
|
|
- })
|
|
|
}
|
|
|
+ //赋值去掉
|
|
|
+ // else{
|
|
|
+ // getSysNo("JK-CG").then(res =>{
|
|
|
+ // this.$set(this.form,"sysNo", res.data.data)
|
|
|
+ // })
|
|
|
+ // }
|
|
|
},
|
|
|
components: {
|
|
|
feeInfo,
|
|
@@ -839,8 +843,9 @@ export default {
|
|
|
},
|
|
|
//商品新增触发
|
|
|
commoditySelection() {
|
|
|
- this.dialogVisible = !this.dialogVisible
|
|
|
- this.commodityData = false
|
|
|
+ this.$refs.crudContact.rowCellAdd();
|
|
|
+ // this.dialogVisible = !this.dialogVisible
|
|
|
+ // this.commodityData = false
|
|
|
},
|
|
|
//点击行可编辑
|
|
|
handleRowClick(row, event, column) {
|
|
@@ -863,6 +868,11 @@ export default {
|
|
|
},
|
|
|
//商品详情list
|
|
|
onLoad(page, params = {}) {
|
|
|
+ if (this.page.total) {
|
|
|
+ this.optionTwo.height = window.innerHeight - 520;
|
|
|
+ } else {
|
|
|
+ this.optionTwo.height = window.innerHeight - 475;
|
|
|
+ }
|
|
|
this.loading = true;
|
|
|
getList(page.currentPage, page.pageSize, Object.assign(params, this.query), this.treeDeptId).then(res => {
|
|
|
const data = res.data.data;
|