|
|
|
@ -47,6 +47,7 @@
|
|
|
|
|
placeholder="选择日期"
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
:clearable="false"
|
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
>
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -601,7 +602,6 @@ export default {
|
|
|
|
|
// if (!this.orderEditor) {
|
|
|
|
|
tQuery.subErpOrders = this.codeArray;
|
|
|
|
|
// }
|
|
|
|
|
console.log(tQuery);
|
|
|
|
|
insertStockOrderWeb(tQuery)
|
|
|
|
|
.then(response => {
|
|
|
|
|
this.loading = false;
|
|
|
|
@ -667,7 +667,6 @@ export default {
|
|
|
|
|
this.thisData.formData = this.formData;
|
|
|
|
|
this.selectProductVisible = true;
|
|
|
|
|
let item = this.getActionItem(this.formData.billType);
|
|
|
|
|
console.log(item.mainAction + "----" + this.formData.noInvOut);
|
|
|
|
|
if (item.mainAction == 'WareHouseOut' && this.formData.noInvOut != true)//内部单
|
|
|
|
|
{
|
|
|
|
|
this.selectInvProductVisible = true;
|
|
|
|
@ -696,7 +695,6 @@ export default {
|
|
|
|
|
|
|
|
|
|
stockOrderDetailQueryProduct(tQuery).then((response) => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
console.log(response)
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
if (response.data.getType === "1") {
|
|
|
|
|
this.loading = true;
|
|
|
|
@ -773,7 +771,6 @@ export default {
|
|
|
|
|
this.thisData = {};
|
|
|
|
|
|
|
|
|
|
if (this.$isNotBlank(rData)) {
|
|
|
|
|
console.log(rData);
|
|
|
|
|
this.codeArray = [];
|
|
|
|
|
rData.forEach((obj, index) => {
|
|
|
|
|
if (this.codeArray.length === 0) {
|
|
|
|
@ -829,7 +826,6 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
getBasicUnitMaintains2(tQuery)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
console.log(response)
|
|
|
|
|
this.sLoading = false;
|
|
|
|
|
this.sOptions = response.data.list;
|
|
|
|
|
})
|
|
|
|
@ -1049,7 +1045,6 @@ export default {
|
|
|
|
|
this.loading = true;
|
|
|
|
|
stockOrderDetail(this.query) //查找该单号下的所有条码
|
|
|
|
|
.then((response) => {
|
|
|
|
|
console.log(response)
|
|
|
|
|
this.codeArray = response.data.list || [];
|
|
|
|
|
this.total = response.data.total || 0;
|
|
|
|
|
this.loading = false;
|
|
|
|
@ -1128,7 +1123,6 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
findStorageMethod(query) {
|
|
|
|
|
console.log(query);
|
|
|
|
|
this.fromStorageOptions = [];
|
|
|
|
|
let cQuery = {
|
|
|
|
|
key: query,
|
|
|
|
|